﻿using System.IO;

namespace NExplorer
{
	internal static class Extenders
	{
		public static bool IsEqualTo(this DirectoryInfo o, DirectoryInfo compareTo)
		{
			if (o == null || compareTo == null)
			{
				return false;
			}
			else
			{
				return string.Compare(o.FullName, compareTo.FullName, true) == 0;
			}			
		}
	}
}
